package com.boang.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boang.domain.AdminRole;
import com.boang.service.AdminRoleService;
import com.boang.mapper.AdminRoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 13813
* @description 针对表【admin_role】的数据库操作Service实现
* @createDate 2024-08-13 15:10:37
*/
@Service
public class AdminRoleServiceImpl extends ServiceImpl<AdminRoleMapper, AdminRole>
    implements AdminRoleService{

    @Autowired
    private AdminRoleMapper adminRoleMapper;
    @Override
    public int removeAdminRoleByAdminId(int adminId) {
        return adminRoleMapper.deleteAdminRoleByAdminId(adminId);
    }
}




